<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 开发版 -->
    <script src="https://vuejs.org/js/vue.js"></script>
    <!-- 生产版 -->
    <script src="https://vuejs.org/js/vue.min.js"></script>
</head>
<body>
    <div id="app">
        姓名：{{name}}，性别:{{sex}}
    </div>

    <script>
        var app = new Vue({
            el:'#app',
            data:{
                names:'二狗',
                sex:'man'
            }
        })
    </script>
</body>
</html>